package com.yzt;

public class Method {
private int anInt;
private byte aByte;
private short aShort;
private long aLong;
private boolean aBoolean;
private char aChar;
private double aDouble;
private float aFloat;
public Method(){}

    public int getAnInt() {
        return anInt;
    }

    public Method(int anInt){
    this.anInt = anInt;
}
public String intToString(int anInt){
    return String.valueOf(anInt);
}
    @Override
    public String toString() {
        return "Method{" +
                "anInt=" + anInt +
                ", aByte=" + aByte +
                ", aShort=" + aShort +
                ", aLong=" + aLong +
                ", aBoolean=" + aBoolean +
                ", aChar=" + aChar +
                ", aDouble=" + aDouble +
                ", aFloat=" + aFloat +
                '}';
    }
}

